﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Web;
using System.Web.UI;
using Microsoft.ApplicationBlocks.Data;
using Dimok.Data;

public partial class Manager_Imaging : Page {
	protected override void OnLoad(EventArgs e) {
		base.OnLoad(e);
		UserObjectEx ex = new UserObjectEx();
		SqlDataReader reader = SqlHelper.ExecuteReader(ex.db,CommandType.Text, "SELECT * FROM t_ImageType");
		while (reader.Read()) {
			string text = ltrImages.Text;
			ltrImages.Text = text + "<DIV id=\"contFile\" folderID=\"" + reader["ID"].ToString() + "\"><DIV id=\"lblFile\" class=\"buttonLike\" title=\"" + reader["Description"].ToString() + "\">" + reader["ImageType"].ToString() + "</DIV><DIV id=\"divPages\" style=\"display:none\"></DIV></DIV>";
		}
		ltrFaxes.Text = Common.ImageList();
		ltrNameSpace.Text = Dimok.Config.application.AppSpace;
	}
}
